package top.wu2020.lazy.ws.chat.application.assembler;

import top.wu2020.lazy.ws.chat.domain.model.mail.code.records.MailCodeRecords;
import top.wu2020.lazy.ws.chat.application.command.mail.code.records.MailCodeRecordsRemoveCommand;
import top.wu2020.lazy.ws.chat.application.command.mail.code.records.MailCodeRecordsStoryCommand;
import top.wu2020.lazy.ws.chat.application.command.mail.code.records.MailCodeRecordsUpdateCommand;
import top.wu2020.lazy.ws.chat.application.command.mail.code.records.MailCodeRecordsQueryListCommand;
import top.wu2020.lazy.ws.chat.application.command.mail.code.records.MailCodeRecordsQueryOneCommand;
import top.wu2020.lazy.ws.chat.application.dto.MailCodeRecordsDTO;
import org.mapstruct.factory.Mappers;
import org.mapstruct.Mapper;
/**
 * describe 邮箱验证码记录 
 *
 * @author Jia wei Wu
 * @date 2024/05/27 09:30 上午
 * @see org.wu.framework.lazy.orm.core.persistence.reverse.lazy.ddd.DefaultDDDLazyAssembler 
 **/
@Mapper
public interface MailCodeRecordsDTOAssembler {


    /**
     * describe MapStruct 创建的代理对象
     *
     
     
     
     * @author Jia wei Wu
     * @date 2024/05/27 09:30 上午
     **/
    MailCodeRecordsDTOAssembler INSTANCE = Mappers.getMapper(MailCodeRecordsDTOAssembler.class);
    /**
     * describe 应用层存储入参转换成 领域对象
     *
     * @param mailCodeRecordsStoryCommand 保存邮箱验证码记录对象     
     * @return {@link MailCodeRecords} 邮箱验证码记录领域对象     
     
     * @author Jia wei Wu
     * @date 2024/05/27 09:30 上午
     **/
     MailCodeRecords toMailCodeRecords(MailCodeRecordsStoryCommand mailCodeRecordsStoryCommand);
    /**
     * describe 应用层更新入参转换成 领域对象
     *
     * @param mailCodeRecordsUpdateCommand 更新邮箱验证码记录对象     
     * @return {@link MailCodeRecords} 邮箱验证码记录领域对象     
     
     * @author Jia wei Wu
     * @date 2024/05/27 09:30 上午
     **/
     MailCodeRecords toMailCodeRecords(MailCodeRecordsUpdateCommand mailCodeRecordsUpdateCommand);
    /**
     * describe 应用层查询入参转换成 领域对象
     *
     * @param mailCodeRecordsQueryOneCommand 查询单个邮箱验证码记录对象参数     
     * @return {@link MailCodeRecords} 邮箱验证码记录领域对象     
     
     * @author Jia wei Wu
     * @date 2024/05/27 09:30 上午
     **/
     MailCodeRecords toMailCodeRecords(MailCodeRecordsQueryOneCommand mailCodeRecordsQueryOneCommand);
    /**
     * describe 应用层查询入参转换成 领域对象
     *
     * @param mailCodeRecordsQueryListCommand 查询集合邮箱验证码记录对象参数     
     * @return {@link MailCodeRecords} 邮箱验证码记录领域对象     
     
     * @author Jia wei Wu
     * @date 2024/05/27 09:30 上午
     **/
     MailCodeRecords toMailCodeRecords(MailCodeRecordsQueryListCommand mailCodeRecordsQueryListCommand);
    /**
     * describe 应用层删除入参转换成 领域对象
     *
     * @param mailCodeRecordsRemoveCommand 删除邮箱验证码记录对象参数     
     * @return {@link MailCodeRecords} 邮箱验证码记录领域对象     
     
     * @author Jia wei Wu
     * @date 2024/05/27 09:30 上午
     **/
     MailCodeRecords toMailCodeRecords(MailCodeRecordsRemoveCommand mailCodeRecordsRemoveCommand);
    /**
     * describe 持久层领域对象转换成DTO对象
     *
     * @param mailCodeRecords 邮箱验证码记录领域对象     
     * @return {@link MailCodeRecordsDTO} 邮箱验证码记录DTO对象     
     
     * @author Jia wei Wu
     * @date 2024/05/27 09:30 上午
     **/
     MailCodeRecordsDTO fromMailCodeRecords(MailCodeRecords mailCodeRecords);
}